home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ HTML Workshop Clear.xpl
< prev
next >
Wrap
Text File
|
2000-11-12
|
1KB
|
64 lines
"FILE"="Xteq Systems X-Setup Plugin 5.0"
"TYPE"="5"
"COUNT"="1"
"UIPATH"="Program Options\Other Programs\MS HTML Workshop\"
"NAME"="Clear Items"
"VERSION"="1.02"
"LANGUAGE"="VBScript"
"TEXT 1"="Clear recent file list"
"TEXT 2"="Clear Radio Links"
"TEXT 3"="C"
"TEXT 4"="D"
"DESCRIPTION 1"="If you do not want that other people can see the items you have opened, click the button."
"AUTHOR"="CptSiskoX"
"CONTACTURL"="http://members.fortunecity.com/computingx/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Aren't plug-in comments great? <g> - CptSiskoX"
"COMMENT 3"="http://www.fortunecity.com/meltingpot/ny/413/"
sP="HKCU\Software\Microsoft\HTML Help Workshop\Recent File List\"
Sub Plugin_Initialize
If RegPathExists(sP)=false then
Disable()
end if
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
if ElementIndex=1 then
for l=1 to 30
s="file" & l
v=RegReadValue(sP & s)
If IsEmpty(v)=false then
Call RegDeleteValue(sP & S)
end if
Next
Call MsgInformation("Cleared!")
end if
if ElementIndex=2 then
'i=RegEnumValues(sp2a)
'for l=1 to i
' Call RegDeleteValue(sp2a & RegEnumElement(l))
'Next
'Call RegWriteValue(sp2b,0,2)
'Call MsgInformation("Radio links cleared")
end if
End Sub
Sub Plugin_Terminate
End Sub